
package com.scalar.chiptrack.sales;

import java.io.Serializable;

import com.scalar.chiptrack.utils.StringUtils;

public class Region implements Serializable
{
    String region = null;
    boolean disabled = false;
    private int regionId = -1;



    public Region() {
    }


     public boolean getDisabled() {
        return disabled;
    }

    public void setDisabled (boolean disabled) {
       this.disabled = disabled;
    }

      public String getRegion() {

        return region;
    }

     public String getEncodeRegion()
     {
        String encodeRegion = null;
        if(region != null)
        {
            encodeRegion = StringUtils.encodeAllSpecialCharacters(region);
        }
        return encodeRegion;
    }

    public void setRegion (String region) {
       this.region = region;
    }

    public int getRegionId() {
        return regionId;
    }

    public void setRegionId(int regionId) {
        this.regionId = regionId;
    }

   }